package com.pine.common.beans.pineframework.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 校验验证码请求体
 * </p>
 *
 * @author pine manage
 * @since 2024-08-21
 */
@Data
@Schema(title = "SysAuthValidateCaptchaCodeRequest", description = "校验验证码请求体")
public class SysAuthValidateCaptchaCodeRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 3146890608143922951L;

    /**
     * 验证码ID
     */
    @NotBlank(message = "验证码ID不能为空")
    @Schema(title = "captchaKey", description = "验证码ID")
    private String captchaKey;

    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    @Schema(title = "captchaCode", description = "验证码")
    private String captchaCode;
}
